package com.pdh.bean;

import java.sql.Timestamp;

/**
 * @Author: 彭德华
 * @Date 2021-08-29 22:19
 */
public class Admin {
    private int id;
    private String adminName;
    private String password;
    private String adminPhone;
    private int status;
    private Timestamp loginTime;
    private String ip;
    private Timestamp createTime;
    private Timestamp updateTime;

    public Admin() {
    }

    public Admin(int id, String adminName, String password, String adminPhone, int status, Timestamp loginTime, String ip, Timestamp createTime, Timestamp updateTime) {
        this.id = id;
        this.adminName = adminName;
        this.password = password;
        this.adminPhone = adminPhone;
        this.status = status;
        this.loginTime = loginTime;
        this.ip = ip;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getAdminName() {
        return adminName;
    }

    public void setAdminName(String adminName) {
        this.adminName = adminName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getAdminPhone() {
        return adminPhone;
    }

    public void setAdminPhone(String adminPhone) {
        this.adminPhone = adminPhone;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Timestamp getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(Timestamp loginTime) {
        this.loginTime = loginTime;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public Timestamp getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Timestamp updateTime) {
        this.updateTime = updateTime;
    }
}
